package com.app.mapper;

import com.app.model.*;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface SupervisionMapper {
    List<DutiesModel> selectDuties();

    List<MatterModel> selectProject(String matterName,String startTime,String endTime);

    List<ProgressModel> selectProgress(Integer id);

    List<ReportModel> selectReport(Integer id,String startTime);

    List<ReportModel> selectReport(Integer id);

    List<DutiesModel> getDuties(Integer id, String name);

    List<SystemModel> selectType();

    List<DutiesModel> getDutiesList(Integer page, Integer limit, Integer pid, String duties);

    List<MatterModel> selectMatter(Integer page, Integer limit, String matterName);

    List<ReportModel> selectReportList(Integer page, Integer limit, String report);

    List<DutiesModel> Duties();

    List<DutiesModel> selectDutiesByName(String name);

    List<MatterModel> superintendentSecretary(Integer pid,String startTime);

    Integer getCount();

    Integer getProjectCount();

    List<MatterModel> selectByTime(String startTime, String endTime);

    List<DutiesModel> selectDutiesByDutiesId(Integer dutiesId);
}
